package com.yango.teach.entity.vo.course;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/**
 * @author Li.Ding.yin
 * @create 2021年07月25日21:32-星期日
 * @role 章节信息
 */
@Data
@ApiModel(value = "章节信息")
public class ChapterVo implements Serializable {
    private static final long serialVersionUID = 1L;
    @ApiModelProperty(value = "课程id")
    private String id;//课程id
    @ApiModelProperty(value = "章节名称")
    private String title;//章节名称
    @ApiModelProperty(value = "章节对应的小节")
    private List<VideoVo> children = new ArrayList<>();//章节对应的小节
}
